import { Controller, Get } from "@tsdy/exist";
import { IndexService } from "../service/index.service";

@Controller('index')
export class IndexController {
    constructor(private readonly indexService: IndexService) {}

    @Get('')
    async index() {
        await this.indexService.addIndex()
        return 'success'
    }
}